/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Domain;

/**
 *
 * @author Min0
 */
public class Apartment {
    
    private int ApartmentNo;
    private String Description;
    private boolean Available;
    private float Price;
    
    public Apartment()
    {}
    
    public Apartment(int ApartmentNo, String Description, boolean Available, float Price)
    {
        this.ApartmentNo = ApartmentNo;
        this.Description = Description;
        this.Available = Available;
        this.Price = Price;
    }

    /**
     * @return the ApartmentNo
     */
    public int getApartmentNo() {
        return ApartmentNo;
    }

    /**
     * @param ApartmentNo the ApartmentNo to set
     */
    public void setApartmentNo(int ApartmentNo) {
        this.ApartmentNo = ApartmentNo;
    }

    /**
     * @return the Description
     */
    public String getDescription() {
        return Description;
    }

    /**
     * @param Description the Description to set
     */
    public void setDescription(String Description) {
        this.Description = Description;
    }

    /**
     * @return the Available
     */
    public boolean getAvailable() {
        return Available;
    }

    /**
     * @param Available the Available to set
     */
    public void setAvailable(boolean Available) {
        this.Available = Available;
    }

    /**
     * @return the Price
     */
    public float getPrice() {
        return Price;
    }

    /**
     * @param Price the Price to set
     */
    public void setPrice(float Price) {
        this.Price = Price;
    }
    
    @Override
    public String toString()
    {
        String info = "\nApartmentNo: "+ApartmentNo + 
                "\nAvailable: "+ Available + "\nDescription: " +
                Description+"\nPrice: "+Price;
        return info;
    }
}
